package com.maven.unit1;

/**
 * @author YongQiang
 * @date 2021/10/20 20:45
 */
public class Demo1_1_12 {
    public static void main(String[] args) {
        int[] a =new int[10];
        for (int i = 0; i < 10; i++) {
            a[i]=9-i;
        }
        for (int i = 0; i < 10; i++) {
            a[i]=a[a[i]];
        }
        for (int i = 0; i < 10; i++) {
            System.out.println(a[i]);
        }
    }
}
